package com.ztc.ZtcClassesPrice.bean;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import org.hibernate.annotations.GenericGenerator;
import com.aqgj.util.BaseEntity;
import com.ztc.ZtcClasses.bean.ZtcClasses;

import java.util.Date;

@Entity
@Table(name = "ztc_classes_price")
public class ZtcClassesPrice implements BaseEntity{

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String id;//

    private String distance;//è·�ç¦»

    private String price;//ä»·æ ¼

    private String fkStartClassesSiteId;//å¼€å§‹ç«™ç‚¹id

    private String fkEndClassesSiteId;//ç»“æ�Ÿç«™ç‚¹id
    
    private String fkZtcClassesId;//ä»·æ ¼æ‰€å±žå�‘å¸ƒç�­æ¬¡id

    private java.util.Date modifyTime;

    private String fkModifyUserId;
    
    private ZtcClasses ztcClasses;
    
	public void setId(String value){
        this.id = value;
    }
    public void setDistance(String value){
        this.distance = value;
    }
    public void setPrice(String value){
        this.price = value;
    }

    public void setFkStartClassesSiteId(String fkStartClassesSiteId) {
		this.fkStartClassesSiteId = fkStartClassesSiteId;
	}
    public void setFkEndClassesSiteId(String fkEndClassesSiteId) {
		this.fkEndClassesSiteId = fkEndClassesSiteId;
	}
    public void setFkZtcClassesId(String fkZtcClassesId) {
		this.fkZtcClassesId = fkZtcClassesId;
	}
  
    public void setZtcClasses(ZtcClasses ztcClasses) {
		this.ztcClasses = ztcClasses;
	}

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public void setFkModifyUserId(String fkModifyUserId) {
        this.fkModifyUserId = fkModifyUserId;
    }

    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name ="id",unique=true,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="distance",unique=false,nullable=true,insertable=true,updatable=true,length=8)
    public String getDistance(){
        return this.distance;
    }
    @Column(name ="price",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public String getPrice(){
        return this.price;
    }
	@Column(name ="fk_start_classes_site_id",unique=false,nullable=false,insertable=true,updatable=true,length=32)
	public String getFkStartClassesSiteId() {
		return fkStartClassesSiteId;
	}
	@Column(name ="fk_end_classes_site_id",unique=false,nullable=false,insertable=true,updatable=true,length=32)
	public String getFkEndClassesSiteId() {
		return fkEndClassesSiteId;
	}
	@Column(name ="fk_ztc_classes_id",unique=false,nullable=false,insertable=true,updatable=true,length=32)
	public String getFkZtcClassesId() {
		return fkZtcClassesId;
	}
    @Column(name ="modify_time",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public Date getModifyTime() {
        return modifyTime;
    }
    @Column(name ="fk_modify_user_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkModifyUserId() {
        return fkModifyUserId;
    }
    @Transient
	public ZtcClasses getZtcClasses() {
		return ztcClasses;
	}
} 
